import {BasicColumn} from '/@/components/Table';
import {FormSchema} from '/@/components/Table';
import { rules} from '/@/utils/helper/validator';
import { render } from '/@/utils/common/renderUtils';
import { getWeekMonthQuarterYear } from '/@/utils';
//列表数据
export const columns: BasicColumn[] = [
  {
    title: '商品名称',
    align: "center",
    dataIndex: 'goodName'
  },
  {
    title: '单价',
    align: "center",
    dataIndex: 'price'
  },
  {
    title: '有效期',
    align: "center",
    dataIndex: 'validity'
  },
];

// 高级查询数据
export const superQuerySchema = {
  goodName: {title: '商品名称',order: 0,view: 'text', type: 'string',},
  price: {title: '单价',order: 1,view: 'number', type: 'number',},
  validity: {title: '有效期',order: 2,view: 'number', type: 'number',},
};
